<!--
  Generated template for the Modaluserselect page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>
	<ion-toolbar>
		<ion-buttons start>
			<button ion-button (click)="doclose()">
        返回
      </button>
		</ion-buttons>
		<ion-title>选择用户</ion-title>
		<ion-buttons end>
			<button ion-button (click)="doneselect()">
        确定
      </button>
		</ion-buttons>
	</ion-toolbar>
</ion-header>
<ion-content>
	<ion-searchbar (ionInput)="getItems($event)" placeholder="输入名称查询..."></ion-searchbar>
	<ion-item *ngFor="let item of searchQuery">
		<ion-label>{{item.name}} {{item.subname}}</ion-label>
		<ion-checkbox color="dark" [(ngModel)]="item.searched" (ngModelChange)="doselect(item,$event)"></ion-checkbox>
	</ion-item>
</ion-content>